package org.easy.eao.executer;

import java.util.List;

import org.easy.eao.annotations.Query;
import org.easy.eao.annotations.hibernate.Lock;
import org.easy.eao.spring.hibernate.model.Exam;

public interface DemoEao {

	@Query(query = "from Exam e")
	@Lock(Lock.UPGRADE_NOWAIT)
	List<Exam> query_lock();
	
}
